/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
const apiPrefix = '/api/v1/datax/metadata';
function getApi(path: string) {
  return `${apiPrefix}${path}`;
}

const metaApi = {
  // 元数据
  getTable: getApi('/getTables'),
  getSample: getApi('/getSample'),
};

export default metaApi;
